# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lddtree
pkgver=1.27
pkgrel=0
pkgdesc="List dynamic dependencies as a tree"
url="https://github.com/ncopa/lddtree"
arch="noarch"
license="GPL-2.0-only"
depends="scanelf"
replaces="pax-utils"
checkdepends="kyua"
source="lddtree-$pkgver.tar.gz::https://github.com/ncopa/lddtree/archive/v$pkgver.tar.gz
	"

check() {
	make check
}

package() {
	install -Dm755 lddtree.sh "$pkgdir"/usr/bin/lddtree
}

sha512sums="
aa27c8556a8370a662dc08a5a1fe80ce1dbcab28478e61bf52997fe93108c1ce96f6bbe5427326c5f215abc58b3ba45a8aae4e5196bda1746ef9c95c99dd5ee2  lddtree-1.27.tar.gz
"
